//
//  WoFaYunDetailModel.h
//  ReceiptDelivery
//
//  Created by 吕晶 on 2020/10/10.
//  Copyright © 2020 吕晶. All rights reserved.
//

#import <Foundation/Foundation.h>
@class WoFaYunDetailTiHuoAddressModel;
@class WoFaYunDetailShouHuoAddressModel;
@class WoFaYunDetailTimeLineModel;

NS_ASSUME_NONNULL_BEGIN

@interface WoFaYunDetailModel : NSObject

@property (nonatomic, copy) NSString *wa_id;//运单id
@property (nonatomic, copy) NSString *wa_num;//运单号
@property (nonatomic, copy) NSString *tlogistics_name;//承运方
@property (nonatomic, copy) NSString *tlogistics_mobile;//承运方电话
@property (nonatomic, copy) NSString *s_name;//发运方
@property (nonatomic, copy) NSString *s_mobile;//发运方电话
@property (nonatomic, strong) NSArray *dp_nums;//
@property (nonatomic, copy) NSString *demandTime;//要求到达时间
@property (nonatomic, copy) NSString *allWeight;//总重量
@property (nonatomic, copy) NSString *allVolume;//总体积
@property (nonatomic, copy) NSString *costWeight;//计费重量
@property (nonatomic, copy) NSString *costVolume;//计费体积
@property (nonatomic, copy) NSString *isTurn;//是否需要回单上缴  1：是 2：否
@property (nonatomic, copy) NSString *isTurn_name;//是
@property (nonatomic, copy) NSString *price;//保险声明价值
@property (nonatomic, copy) NSString *delivery;//服务方式
@property (nonatomic, copy) NSString *tsTime;//运输时效
@property (nonatomic, copy) NSString *transport;//运输方式
@property (nonatomic, copy) NSString *settleSty;//结算方式
@property (nonatomic, copy) NSString *needCar;//车辆要求
@property (nonatomic, copy) NSString *aorder;//关联订单
@property (nonatomic, copy) NSString *fileInfo;//随附文件
@property (nonatomic, copy) NSString *remarks;//备注
@property (nonatomic, copy) NSString *sign_status;//签收状态 1正常  2异常
@property (nonatomic, copy) NSString *status_now;//当前运单状态  1：新建 2：确认 3：驳回 4：分配 5：途中 6：到达 7：派送 8：签收 9：回单返回 10：回单上缴 11：完成 12：作废
@property (nonatomic, copy) NSString *sign_user;//签收操作人
@property (nonatomic, strong) NSArray *sign_img;//签收图片
@property (nonatomic, copy) NSString *sign_remarks;//签收备注
@property (nonatomic, copy) NSString *sign_time;//签收时间

@property (nonatomic, copy) NSString *receipt_turnover_user;//回单上缴操作人
@property (nonatomic, strong) NSArray *receipt_turnover_img;//回单上缴图片
@property (nonatomic, copy) NSString *receipt_turnover_time;//回单上缴时间

@property (nonatomic, copy) NSString *create_type;//创建身份  1:3pl录入 2：收发货方录入 3：系统录入
@property (nonatomic, copy) NSString *reject_remarks;//驳回原因
@property (nonatomic, copy) NSString *reject_time;//驳回时间

@property (nonatomic, strong) NSArray <WoFaYunDetailTiHuoAddressModel *>*warehouse;//提货地址
@property (nonatomic, strong) WoFaYunDetailShouHuoAddressModel *saddress;//收货地址
@property (nonatomic, strong) NSArray <WoFaYunDetailTimeLineModel *>*status;//时间状态

@end

@interface WoFaYunDetailTiHuoAddressModel : NSObject

@property (nonatomic, copy) NSString *w_id;//
@property (nonatomic, copy) NSString *name;//
@property (nonatomic, copy) NSString *contract_name;//联系人
@property (nonatomic, copy) NSString *contract_tel;//联系电话
@property (nonatomic, copy) NSString *info;//地址
@property (nonatomic, copy) NSString *lng;//
@property (nonatomic, copy) NSString *lat;//

@end

@interface WoFaYunDetailShouHuoAddressModel : NSObject

@property (nonatomic, copy) NSString *sa_id;//
@property (nonatomic, copy) NSString *name;//
@property (nonatomic, copy) NSString *contract_name;//联系人
@property (nonatomic, copy) NSString *contract_tel;//联系电话
@property (nonatomic, copy) NSString *info;//地址
@property (nonatomic, copy) NSString *lng;//
@property (nonatomic, copy) NSString *lat;//

@end

@interface WoFaYunDetailTimeLineModel : NSObject

@property (nonatomic, copy) NSString *value;//
@property (nonatomic, assign) BOOL selected;//
@property (nonatomic, copy) NSString *time;//

@end

NS_ASSUME_NONNULL_END
